<% if !@user.nil? %>
  <h1>Account Details for <%= @user.login %></h1>
  <div class="floatrightbox" style="clear: right;">
  <h2>User Info</h2>
  Roles: <%= @user.roles.collect{|t| t.name}.join(", ") if @user.roles.size > 0 %><%= "Member" if @user.roles.size < 1 %><br />
  </div>
  <br style="clear: both;" />
<% else %>
  <h2>User not found: <%= params[:id] %></h2>
<% end %>